package com.zmkm.dao;

import com.zmkm.entity.Client_information;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public abstract interface Client_informationMapper {
	public abstract int deleteByPrimaryKey(Integer id);

	public abstract int insert(Client_information client_information);

	public abstract int insertSelective(Client_information client_information);

	public abstract Client_information selectByPrimaryKey(Integer id);

	public abstract int updateByPrimaryKeySelective(Client_information client_information);

	public abstract int updateByPrimaryKey(Client_information client_information);

	public abstract List<Client_information> selectByClientName(@Param("clientName") String clientName);

	public abstract List<Client_information> selectByClientPhone(@Param("clientPhone") String clientPhone);

	public abstract List<Client_information> selectByClientNameAndPhone(@Param("clientName") String clientName,
			@Param("clientPhone") String clientPhone);

	public abstract List<Client_information> selectByService(@Param("service") String service);

	public abstract List<Client_information> selectByUptownName(@Param("uptownName") String uptownName);
}
